package com.pig4cloud.pigx.contract.open.api.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.pig4cloud.pigx.common.customize.utils.serializer.BigDecimalToPlainStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 */
@Data
public class OpenApiSymbolHierarchyVOV1 implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 层级
	 */
	private Integer hierarchy;

	/**
	 * 最低杠杆倍数
	 */
	private Integer startMultiple;

	/**
	 * 最高杠杆倍数
	 */
	private Integer endMultiple;

	/**
	 * 最低持仓量(币本位数量)
	 */
	@JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
	private BigDecimal minPosition;

	/**
	 * 最高持仓量(币本位数量)
	 */
	@JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
	private BigDecimal maxPosition;
}
